package com.copd.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.List;

/**
 * 数据恢复请求DTO
 */
@ApiModel(description = "数据恢复请求")
public class RestoreDataRequest {

    @ApiModelProperty(value = "患者ID", required = true, example = "10000001")
    private Integer patientId;

    @ApiModelProperty(value = "要恢复的表名列表（原表名）", required = true, 
                     example = "[\"patient_info\", \"diagnosis_records\", \"examination_items\"]")
    private List<String> tables;

    public Integer getPatientId() {
        return patientId;
    }

    public void setPatientId(Integer patientId) {
        this.patientId = patientId;
    }

    public List<String> getTables() {
        return tables;
    }

    public void setTables(List<String> tables) {
        this.tables = tables;
    }

    @Override
    public String toString() {
        return "RestoreDataRequest{" +
                "patientId=" + patientId +
                ", tables=" + tables +
                '}';
    }
} 